package com.lhm.mapper;


import com.lhm.entity.MyUser;
import com.lhm.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserMapper {
    //添加
    public  MyUser findByAccount(String account);
//根据di查找
    public  MyUser findById(Integer id);
//查找
    public  List<Map<String, Object>> findAll(Map<String, Object> map);

    //分页
    public  int getCount();
//添加
    public  void add(MyUser u);
//更新
    public  int update(Map<String, Object> map);

}
